package cn.net.cfss.fgbp.face.manage.model.extension;

import cn.net.cfss.fgbp.spi.manage.constant.YesOrNoEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wutao
 * @version 1.0
 * @date 2020/9/2 17:05
 */
@Data
public class AddModel implements Serializable {

    @ApiModelProperty(name = "分机名称",value = "分机名称",hidden=false,required=true)
    private String extensionName;

    @ApiModelProperty(name = "分机号",value = "分机号",hidden=false,required=true)
    private String extensionNum;

    @ApiModelProperty(name = "分机密码",value = "分级密码",hidden=false,required=true)
    private String extensionPassword;

    @ApiModelProperty(name = "租户id",value = "租户id",hidden=false,required=true)
    private Long tenantId;

    @ApiModelProperty(name = "节点id",value = "节点id",hidden=false,required=true)
    private Long nodeId;

    @ApiModelProperty(name = "开启隐藏号",value = "开启隐藏号",hidden=false,required=true)
    private YesOrNoEnum hidden;

    @ApiModelProperty(name = "备注",value = "备注",hidden=false,required=false)
    private String remark;

    public String getExtensionName() {
        return extensionName;
    }

    public void setExtensionName(String extensionName) {
        this.extensionName = extensionName;
    }

    public String getExtensionNum() {
        return extensionNum;
    }

    public void setExtensionNum(String extensionNum) {
        this.extensionNum = extensionNum;
    }

    public String getExtensionPassword() {
        return extensionPassword;
    }

    public void setExtensionPassword(String extensionPassword) {
        this.extensionPassword = extensionPassword;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Long getNodeId() {
        return nodeId;
    }

    public void setNodeId(Long nodeId) {
        this.nodeId = nodeId;
    }

    public YesOrNoEnum getHidden() {
        return hidden;
    }

    public void setHidden(YesOrNoEnum hidden) {
        this.hidden = hidden;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
